<?php
	include_once("connect.php");

?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Services - Free Hotel Website Template designed by TemplateMonster</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta name="description" content="This is a wonderful services page of the Free Hotel Website Template provided by TemplateMonster."/>
<link href="style.css" rel="stylesheet" type="text/css" />
<link href="layout.css" rel="stylesheet" type="text/css" />
<script src="maxheight.js" type="text/javascript"></script>
<!--[if lt IE 7]>
	<link href="ie_style.css" rel="stylesheet" type="text/css" />
   <script type="text/javascript" src="ie_png.js"></script>
   <script type="text/javascript">
	   ie_png.fix('.png, #header .row-2, #header .nav li a, #content, .gallery li');
   </script>
<![endif]-->
</head>
<body id="page2" onload="new ElementMaxHeight();">
<div id="main">
<!-- header -->
	<div id="header" class="small">
		<div class="row-1">
	 		<div class="wrapper">
				<div class="logo">
					<h1><a href="index.html">Indonesian Hotels </a></h1>
					<em>Hotel</em>
					<strong>True Luxury</strong>
				</div>
			
			</div>
		</div>
		<div class="row-2 alt">
	 		<div class="indent">
<!-- header-box-small begin -->
				<div class="header-box-small">
					<div class="inner">
						<ul class="nav">
					 		<li><a href="index.php">Home page</a></li>
							<li><a href="#" class="current">Room and Rates</a></li>
							<li><a href="booking.php">Booking</a></li>
							<li><a href="location.php">Location</a></li>
							<li><a href="gallery.php">Gallery</a></li>
							<li><a href="contact.php">Contact Us</a></li>
						</ul>
					</div>
				</div>
<!-- header-box-small end -->
			</div>
		</div>
	</div><div class="ic">Lovely Flash templates from TemplateMonster!</div>
<!-- content -->
	<div id="content">
		<div class="gallery">
			<ul>
				<li><a href="#"><img alt="" src="images/2page-img1.jpg" /></a></li>
				<li><a href="#"><img alt="" src="images/2page-img2.jpg" /></a></li>
				<li><a href="#"><img alt="" src="images/2page-img3.jpg" /></a></li>
				<li><a href="#"><img alt="" src="images/2page-img4.jpg" /></a></li>
				<li><a href="#"><img alt="" src="images/2page-img5.jpg" /></a></li>
				<li><a href="#"><img alt="" src="images/2page-img6.jpg" /></a></li>
			</ul>
		</div>
		<div class="wrapper">
			<div class="aside maxheight">
<!-- box begin -->
				<div class="box maxheight">
					<div class="inner">
						<?php
						include_once("form_reservasi.php");
						?>
					</div>				
				</div>
<!-- box end -->
			</div>
			<div id="content">
				<div class="indent">
					<h2>We offer several kinds of rooms</h2>
					<?php
						for ($i=1;$i<=7;$i++){
							$sql= "select * from view_ref_biaya where id_hotel=$i";
							$exe = mysql_query($sql);
							?>
							</br><h3>Indonesian Hotels <?php echo $i; ?></h3>
									<table>
										<tr>
											<th align = "left">ROOM TYPE</th>
											<th align = "left">CAPACITY</th>
											<th align = "left">PPN</th>
											<th align = "left">RATE/DAY</th>
										</tr>
									
							<?php while($list = mysql_fetch_array($exe)) {?>
										<tr>
											<td width="45%"><?php echo $list[2]?></td>
											<td width="20%"><?php echo $list[3]?></td>
											<td width="20%"><?php echo $list[4]?></td>
											<td width="20%"><?php echo $list[5]?></td>
										</tr>
								
							<?php
							}
							?>
							</table>
							<?php
						}
					?>
				</div>
			</div>
		</div>
	</div>
<!-- footer -->
	<div id="footer">
  		<ul class="nav">
			<li><a href="index.php">Home page</a></li>
			<li><a href="services.php">Room and Rates</a></li>
			<li><a href="booking.php">Booking</a></li>
			<li><a href="location.php">Location</a></li>
			<li><a href="gallery.php">Gallery</a></li>
			<li><a href="contact.php">Contact Us</a></li>
		</ul>
		<div class="wrapper">
			<div class="fleft">Copyright (c) 2009 FiveStar Hotel</div>
			<div class="fright"><a rel="nofollow" href="http://www.templatemonster.com/flash-templates.php">Flash Templates</a> from TemplateMonster - Squeeze Your Competitors.</div>
		</div>
	</div>
</div>
</body>
</html>